<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Xorg-Server-1.20.8
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;24.&nbsp;X Window System Environment
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="xkeyboard-config.html" title=
          "XKeyboardConfig-2.29">Prev</a>
          <p>
            XKeyboardConfig-2.29
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="x7driver.html" title="Xorg Drivers">Next</a>
          <p>
            Xorg Drivers
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="installing.html" title=
          "Chapter&nbsp;24.&nbsp;X Window System Environment">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="xorg-server" name="xorg-server"></a>Xorg-Server-1.20.8
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Xorg Server
        </h2>
        <p>
          The <span class="application">Xorg</span> Server is the core of the
          X Window system.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://www.x.org/pub/individual/xserver/xorg-server-1.20.8.tar.bz2">
                https://www.x.org/pub/individual/xserver/xorg-server-1.20.8.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.x.org/pub/individual/xserver/xorg-server-1.20.8.tar.bz2">
                ftp://ftp.x.org/pub/individual/xserver/xorg-server-1.20.8.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: a770aec600116444a953ff632f51f839
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 6.0 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 257 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.8 SBU (using parallelism=4; with
                tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Xorg Server Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../general/pixman.html" title=
          "Pixman-0.38.4">Pixman-0.38.4</a> and <a class="xref" href=
          "x7font.html" title="Xorg Fonts">Xorg Fonts</a> (only font-util),
          and at runtime: <a class="xref" href="xkeyboard-config.html" title=
          "XKeyboardConfig-2.29">xkeyboard-config-2.29</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <span class="phrase"><a class="xref" href="../general/elogind.html"
          title="elogind-243.7">elogind-243.7</a>,</span> <a class="xref"
          href="libepoxy.html" title="libepoxy-1.5.4">libepoxy-1.5.4</a>
          (needed for glamor and Xwayland), <span class="phrase"><a class=
          "xref" href="../postlfs/polkit.html" title=
          "Polkit-0.116">Polkit-0.116</a> (runtime),</span> <a class="xref"
          href="../general/wayland.html" title=
          "Wayland-1.18.0">Wayland-1.18.0</a> (needed for Xwayland),
          <span class="phrase">and</span> <a class="xref" href=
          "../general/wayland-protocols.html" title=
          "Wayland-Protocols-1.20">wayland-protocols-1.20</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/acpid.html" title=
          "acpid-2.0.32">acpid-2.0.32</a> (runtime), <a class="xref" href=
          "../general/doxygen.html" title="Doxygen-1.8.17">Doxygen-1.8.17</a>
          (to build API documentation), <a class="xref" href=
          "../pst/fop.html" title="fop-2.4">fop-2.4</a> (to build
          documentation), <a class="xref" href="../postlfs/nettle.html"
          title="Nettle-3.5.1">Nettle-3.5.1</a>, <a class="xref" href=
          "../general/libgcrypt.html" title=
          "libgcrypt-1.8.5">libgcrypt-1.8.5</a>, <a class="xref" href=
          "xcb-util-keysyms.html" title=
          "xcb-util-keysyms-0.4.0">xcb-util-keysyms-0.4.0</a>, <a class=
          "xref" href="xcb-util-image.html" title=
          "xcb-util-image-0.4.0">xcb-util-image-0.4.0</a>, <a class="xref"
          href="xcb-util-renderutil.html" title=
          "xcb-util-renderutil-0.3.9">xcb-util-renderutil-0.3.9</a>,
          <a class="xref" href="xcb-util-wm.html" title=
          "xcb-util-wm-0.4.1">xcb-util-wm-0.4.1</a> (all three to build
          Xephyr), <a class="xref" href="../pst/xmlto.html" title=
          "xmlto-0.0.28">xmlto-0.0.28</a> (to build documentation), <a class=
          "ulink" href=
          "http://download.savannah.gnu.org/releases/libunwind">libunwind</a>,
          and <a class="ulink" href=
          "https://www.x.org/archive/individual/doc/">xorg-sgml-doctools</a>
          (to build documentation)
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/Xorg7Server">http://wiki.linuxfromscratch.org/blfs/wiki/Xorg7Server</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Xorg Server
        </h2>
        <p>
          Install the server by running the following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure $XORG_CONFIG            \
            --enable-glamor         \
            --enable-suid-wrapper   \
            --with-xkb-output=/var/lib/xkb &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>. You will need to run <span class=
          "command"><strong>ldconfig</strong></span> as the <code class=
          "systemitem">root</code> user first or some tests may fail.
        </p>
        <p>
          Now as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install &amp;&amp;
mkdir -pv /etc/X11/xorg.conf.d &amp;&amp;
cat &gt;&gt; /etc/sysconfig/createfiles &lt;&lt; "EOF"
<code class="literal">/tmp/.ICE-unix dir 1777 root root
/tmp/.X11-unix dir 1777 root root</code>
EOF</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--enable-glamor</code></em>: Build the
          Glamor DIX (Device Independent X) module which is currently used
          by: R600 or later radeon video chipsets, the modesetting driver
          (which is part of this package) for hardware using KMS which offers
          acceleration, and (optionally) the intel driver.
        </p>
        <p>
          <em class="parameter"><code>--enable-suid-wrapper</code></em>:
          Build suid-root wrapper for legacy driver support on rootless
          xserver systems.
        </p>
        <p>
          <code class="option">--disable-systemd-logind</code>: This switch
          disables <span class="phrase">elogind</span> integration allowing
          Xorg Server to work without having the PAM module configured.
        </p>
        <p>
          <code class="option">--enable-install-setuid</code>: This switch
          restores the setuid bit to the Xorg executable allowing Xorg Server
          to work with a virtual terminal designated on the <span class=
          "command"><strong>startx</strong></span> command line.
        </p>
        <p>
          <span class="command"><strong>cat &gt;&gt;
          /etc/sysconfig/createfiles...</strong></span>: This command creates
          the <code class="filename">/tmp/.ICE-unix</code> and <code class=
          "filename">/tmp/.X11-unix</code> directories at startup, and
          ensures that the permissions and ownership are correct as required
          by the server.
        </p>
        <p>
          <code class="option">--enable-dmx</code>: Build DMX (Distributed
          Multihead X) server.
        </p>
        <p>
          <code class="option">--enable-kdrive</code>: this option allows the
          <span class="command"><strong>configure</strong></span> script to
          enable Xephyr if its dependencies are met.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">cvt, gtf, X, Xnest, Xorg, and Xvfb;
              optional: dmxaddinput, dmxaddscreen, dmxinfo, dmxreconfig,
              dmxresize, dmxrminput, dmxrmscreen, dmxtodmx, dmxwininfo,
              vdltodmx, Xdmx, xdmxconfig, Xephyr, Xfbdev and Xwayland</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">several under
              $XORG_PREFIX/lib/xorg/modules/{,drivers,extensions} including
              modesetting_drv.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class=
              "segbody">$XORG_PREFIX/{include/xorg,lib/xorg,share/X11/xorg.conf.d}
              and /var/lib/xkb</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="cvt-x7" name="cvt-x7"></a><span class=
                    "term"><span class=
                    "command"><strong>cvt</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    calculates VESA CVT mode lines.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="dmx-x7" name="dmx-x7"></a><span class=
                    "term"><span class=
                    "command"><strong>dmx*</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    are various tools used for manipulating the dmx server.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gtf-x7" name="gtf-x7"></a><span class=
                    "term"><span class=
                    "command"><strong>gtf</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    calculates VESA GTF mode lines.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="vdltodmx-x7" name="vdltodmx-x7"></a><span class=
                    "term"><span class=
                    "command"><strong>vdltodmx</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool used to convert VDL config files to DMX config
                    files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="X-x7" name="X-x7"></a><span class=
                    "term"><span class=
                    "command"><strong>X</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a symbolic link to Xorg.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="Xdmx" name="Xdmx"></a><span class=
                    "term"><span class=
                    "command"><strong>Xdmx</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a proxy X server that uses one or more other X servers
                    as its display devices.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="Xephyr-x7" name="Xephyr-x7"></a><span class=
                    "term"><span class=
                    "command"><strong>Xephyr</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a nested X server which supports modern X extensions.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="Xnest-x7" name="Xnest-x7"></a><span class=
                    "term"><span class=
                    "command"><strong>Xnest</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a nested X server.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="Xorg-x7" name="Xorg-x7"></a><span class=
                    "term"><span class=
                    "command"><strong>Xorg</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the X11R7 X Server.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="Xvfb-x7" name="Xvfb-x7"></a><span class=
                    "term"><span class=
                    "command"><strong>Xvfb</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the virtual framebuffer X server for X Version 11.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xdmxconfig-x7" name=
                    "xdmxconfig-x7"></a><span class="term"><span class=
                    "command"><strong>xdmxconfig</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a graphical configuration utility for the dmx server.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="Xwayland-x7" name="Xwayland-x7"></a><span class=
                    "term"><span class=
                    "command"><strong>Xwayland</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    allows the X server to run X clients under wayland (i.e.
                    wayland provides the input devices and handles the
                    presentation of the windows).
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="modesetting_drv-x7" name=
                    "modesetting_drv-x7"></a><span class="term"><code class=
                    "filename">modesetting_drv.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides a video driver for machines using Kernel Mode
                    Setting (KMS). This will use glamor if that has been
                    enabled and the hardware offers acceleration.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-30 12:00:36 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="xkeyboard-config.html" title=
          "XKeyboardConfig-2.29">Prev</a>
          <p>
            XKeyboardConfig-2.29
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="x7driver.html" title="Xorg Drivers">Next</a>
          <p>
            Xorg Drivers
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="installing.html" title=
          "Chapter&nbsp;24.&nbsp;X Window System Environment">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
